﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cms.Domain
{
    public class Subscription
    {
        public virtual int Id { get; set; }

        public virtual string Name { get; set; }

        public virtual IList<PaymentProvider> PaymentProviders { get; protected set; }

        public virtual int Duration { get; set; }

        public virtual string DurationUnit { get; set; }

        public virtual double Price { get; set; }

        public virtual string Currency { get; set; }

        public virtual Subscription ReplacedBy { get; set; } // Embryo for solving the problem with changing prices on a subscription with users
    }
}
